package patternmining.model.graph;

import patternmining.model.construction.SourceDescription;

public class Edge {
	 
	protected SourceDescription source;
        protected Vertex origin;
        protected Vertex destination;

        public Edge(Vertex origin, Vertex destination){
            this.origin = origin;
            this.destination = destination;
            this.source = new SourceDescription();
        }

        public void setSourceDescription(SourceDescription source){
            this.source = source;
        }

        public void setOrigin(Vertex origin){
            this.origin = origin;
        }

        public void setDestination(Vertex destination){
            this.destination = destination;
        }

        public Vertex getOrigin(){
            return origin;
        }

        public Vertex getDestination(){
            return destination;
        }


}
 
